﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using LiuYan.Entity;
using LiuYan.Service;

namespace LiuYan.Web.Areas.Admin.Controllers
{
    public class HfMsgController : BaseController
    {
      
        public ActionResult Index()
        {
            ViewData["data"] = new ReplyService().GetData();
            return View();
        }

        public int Edit(int id,string msg)
        {
            TB_Reply entity=new TB_Reply();
            entity.Id = id;
            entity.Content = Server.UrlDecode(msg);
            return new ReplyService().Edit(entity);
        }
    }
}
